<?php 
  error_reporting(0);
  session_start();	
  include "config/koneksi.php";
  include "config/fungsi_indotgl.php";
  include "config/class_paging.php";
  include "config/fungsi_combobox.php";
  include "config/library.php";
  include "config/fungsi_autolink.php";
  include "config/fungsi_rupiah.php";
  include "config/pageNavi.php";
  include "hapus_orderfiktif.php";
  ?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<title>.: What To Wear Style :.</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="index, follow">
<meta name="description" content="<?php include "dina_meta1.php"; ?>">
<meta name="keywords" content="<?php include "dina_meta2.php"; ?>">
<meta http-equiv="Copyright" content="kakilimaweb">
<meta name="author" content="kakilimaweb.com">
<meta http-equiv="imagetoolbar" content="no">
<meta name="language" content="Indonesia">
<meta name="revisit-after" content="7">
<meta name="webcrawlers" content="all">
<meta name="rating" content="general">
<meta name="spiders" content="all">


<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">

<!--// Stylesheet //-->
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="css/contentslider.css" rel="stylesheet" type="text/css" />
<link href="css/default.advanced.css" rel="stylesheet" type="text/css" />
<link href="css/jquery.ad-gallery.css" rel="stylesheet" type="text/css" />
<link href="css/jquery.fancybox-1.3.1.css" rel="stylesheet" type="text/css" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link href="css/slider.css" rel="stylesheet" type="text/css" />
<!--// Javascript //-->
<script type="text/javascript" src="config/jquery.js"></script>
<script type="text/javascript" src="js/clearbox.js"></script>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.min14.js"></script>
<script type="text/javascript" src="js/jquery-ui.min.js"></script>
<script type="text/javascript" src="js/anythingslider.js"></script>
<script type="text/javascript" src="js/jquery.anythingslider.js"></script>
<script type="text/javascript" src="js/jquery.easing.1.2.js"></script>
<script type="text/javascript" src="js/jquery.fancybox-1.3.1.js"></script>
<script type="text/javascript" src="js/contentslider.js"></script>
<script type="text/javascript" src="js/cufon-yui.js"></script>
<script type="text/javascript" src="js/jquery.ad-gallery.js"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
<script type="text/javascript" src="js/thumbgallery.js"></script>
<script type="text/javascript" src="js/eurofurence_500-eurofurence_700.font_9bc22cbd.js"></script>
<script type="text/javascript" src="js/cufon.js"></script>
<script type="text/javascript" src="js/newsticker.js"></script>
<!--[if lte IE 7]>
<script type="text/javascript" src="js/jquery.dropdown.js"></script>
<![endif]-->
<script type="text/javascript" src="js/easy.js"></script>
<script type="text/javascript">
	$(document).ready(function(){		
		$.easy.tooltip();	
});
</script>
<meta charset="UTF-8">
<style type="text/css">
<!--
.style1 {color: #FF6600}
-->
</style>
</head>
<body>
  <a name="top"></a>
  <div id="wrapper_sec">
      <div id="head">
        <div class="logo"><a href="index.html"><img src="images/logo.png" alt="" /></a></div>
        <div class="rightnavi">
          <div class="fb">
            <a href="index.html"><img src="images/fb_icon.jpg" alt="" /></a>&nbsp;
            <a href="index.html"><img src="images/twit_icon.jpg" alt="" /></a>
          </div>
          <div class="clear"></div>
          <?php
            if(isset($_SESSION['id_customer']) && $_SESSION['id_customer']!=0){
              echo '
                <a class="customer_login" style="color:#fff;" href="logout.html">Logout</a>
                <a class="customer_login" style="color:#fff;" href="whislist.html">Whistlist</a>
              ';
            }else{
              echo '<a class="customer_login" style="color:#fff;" href="login.html">CUSTOMER LOGIN</a>';
            }
          ?>
          <a href="keranjang-belanja.html"><img src="images/shopping_cart.png" alt="" /></a>
        </div>
        <div class="clear"></div>
        <div class="navigation">
          <ul id="nav" class="dropdown dropdown-linear dropdown-columnar">
            <li class='active-menu'><a href='new.html'>What's New</a></li>
            <?php               
              $main = mysql_query("SELECT * FROM mainmenu WHERE aktif='Y'");
              while($r=mysql_fetch_array($main)){
                echo "<li><b><a href='$r[link]'>$r[nama_menu]</a></b>
                        <ul>";
                         $sub = mysql_query("SELECT * FROM submenu, mainmenu  
                                          WHERE submenu.id_main=mainmenu.id_main 
                                          AND submenu.id_main=$r[id_main]");
                         while($w=mysql_fetch_array($sub)){
                            echo " <li class='clear'><b><a href='$w[link_sub]'>$w[nama_sub]</a></b></li>";
                         }
                echo "</ul></li>";
              } 
            ?>
          </ul>
         </div>
      </div>
      <div class="clear"></div>
      <div id="content_sec">
          <div class="col2">
            <div class='heading-left'>Product Categories</div>
            <ul class='list-categories'>
                <?php
                    $kategori = mysql_query("select nama_kategori, kategori.id_kategori, kategori_seo,  
                                          count(produk.id_produk) as jml 
                                          from kategori left join produk 
                                          on produk.id_kategori=kategori.id_kategori 
                                          group by nama_kategori");
                    $no=1;
                    while($k=mysql_fetch_array($kategori)){
                      if(($no % 2)==0){
                        echo "<li><a href='kategori-$k[id_kategori]-$k[kategori_seo].html'> $k[nama_kategori] ($k[jml])</a></li>";
                      }
                      else{
                        echo "<li><a href='kategori-$k[id_kategori]-$k[kategori_seo].html'> $k[nama_kategori] ($k[jml])</a></li>";              
                      }
                      $no++;
                    }
                ?>
              </li>
            </ul>
            <div class='heading-left'><a href='blog.html'>Blog</a></div>
          </div>
          <div class="col1">
            <div><?php include "tengah.php";?></div>
            <div class="clear"></div>
          </div>
          <div class="clear"></div>
      </div>
  </div> 
  <div id="footer">
    &nbsp;
  </div> 
</body>
</html>

